package com.hw.kms.keyfile;

/**
 * 密钥文件信息
 * 
 * @author
 * @version 1.0.0 2015-5-12 上午4:11:27
 */
public class KeyFileInfo {

	private String magic;
	private int majorVersion;
	private int minorVersion;
	private String rand;
	private String keyId;
	private String key;
	private String kcvOrDs;
	private String mac;
	private String calcuMacData;

	public String getMagic() {
		return magic;
	}

	public void setMagic(String magic) {
		this.magic = magic;
	}

	public int getMajorVersion() {
		return majorVersion;
	}

	public void setMajorVersion(int majorVersion) {
		this.majorVersion = majorVersion;
	}

	public int getMinorVersion() {
		return minorVersion;
	}

	public void setMinorVersion(int minorVersion) {
		this.minorVersion = minorVersion;
	}

	public String getRand() {
		return rand;
	}

	public void setRand(String rand) {
		this.rand = rand;
	}

	public String getKeyId() {
		return keyId;
	}

	public void setKeyId(String keyId) {
		this.keyId = keyId;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getKcvOrDs() {
		return kcvOrDs;
	}

	public void setKcvOrDs(String kcvOrDs) {
		this.kcvOrDs = kcvOrDs;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getCalcuMacData() {
		return calcuMacData;
	}

	public void setCalcuMacData(String calcuMacData) {
		this.calcuMacData = calcuMacData;
	}

	@Override
	public String toString() {
		return "KeyFileInfo [magic=" + magic + ", majorVersion=" + majorVersion + ", minorVersion="
				+ minorVersion + ", rand=" + rand + ", keyId=" + keyId + ", key=" + key
				+ ", kcvOrDs=" + kcvOrDs + ", mac=" + mac + ", calcuMacData=" + calcuMacData + "]";
	}

}
